package models

type SysTemplate struct {
	Model
	TypeId  int    `json:"typeId" gorm:"comment:模版类型"`
	Title   string `json:"title" gorm:"type:varchar(64);comment:模版名称"`
	IsTpl   bool   `json:"isTpl" gorm:"size:2;comment:模版是否文件"`
	Content string `json:"content" gorm:"comment:模版是否文件"`
	Remark  string `json:"remark" gorm:"type:varchar(255);comment:备注"`
	Status  string `json:"status" gorm:"type:varchar(4);comment:状态"`
	ControlBy
	ModelTime
}

func (SysTemplate) TableName() string {
	return "sys_template"
}
